package cn.com.nes.mybatis.agent.project.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * 项目动态日志表
 * @TableName t_project_log
 */
@TableName(value ="t_project_log")
@Data
public class ProjectLog implements Serializable {
    /**
     * 自增id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 
     */
    @TableField(value = "link_id")
    private String linkId;

    /**
     * 链接类型 1 项目 2工单 3安全检查 4 质量检查
     */
    @TableField(value = "link_type")
    private String linkType;

    /**
     * 操作描述
     */
    @TableField(value = "title")
    private String title;

    /**
     * 子标题
     */
    @TableField(value = "sub_title")
    private String subTitle;

    /**
     * 描述
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 创建者uid
     */
    @TableField(value = "createUid")
    private Long createuid;

    /**
     * 创建时间
     */
    @TableField(value = "createTime")
    private Date createtime;

    /**
     * 修改者uid
     */
    @TableField(value = "modifyUid")
    private Long modifyuid;

    /**
     * 修改时间
     */
    @TableField(value = "modifyTime")
    private Date modifytime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}